3.36 \(\int \csc (a+b x) \sin ^5(2 a+2 b x) \, dx\)

Optimal. Leaf size=46 \[ \frac {32 \sin ^9(a+b x)}{9 b}-\frac {64 \sin ^7(a+b x)}{7 b}+\frac {32 \sin ^5(a+b x)}{5 b} \]

[Out]

32/5*sin(b*x+a)^5/b-64/7*sin(b*x+a)^7/b+32/9*sin(b*x+a)^9/b

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4288, 2564, 270} \[ \frac {32 \sin ^9(a+b x)}{9 b}-\frac {64 \sin ^7(a+b x)}{7 b}+\frac {32 \sin ^5(a+b x)}{5 b} \]

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]*Sin[2*a + 2*b*x]^5,x]

[Out]

(32*Sin[a + b*x]^5)/(5*b) - (64*Sin[a + b*x]^7)/(7*b) + (32*Sin[a + b*x]^9)/(9*b)

Rule 270

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rule 2564

Int[cos[(e_.) + (f_.)*(x_)]^(n_.)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(a*f), Subst[Int[
x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Sin[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2] &&
 !(IntegerQ[(m - 1)/2] && LtQ[0, m, n])

Rule 4288

Int[((f_.)*sin[(a_.) + (b_.)*(x_)])^(n_.)*sin[(c_.) + (d_.)*(x_)]^(p_.), x_Symbol] :> Dist[2^p/f^p, Int[Cos[a
+ b*x]^p*(f*Sin[a + b*x])^(n + p), x], x] /; FreeQ[{a, b, c, d, f, n}, x] && EqQ[b*c - a*d, 0] && EqQ[d/b, 2]
&& IntegerQ[p]

Rubi steps

\begin {align*} \int \csc (a+b x) \sin ^5(2 a+2 b x) \, dx &=32 \int \cos ^5(a+b x) \sin ^4(a+b x) \, dx\\ &=\frac {32 \operatorname {Subst}\left (\int x^4 \left (1-x^2\right )^2 \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac {32 \operatorname {Subst}\left (\int \left (x^4-2 x^6+x^8\right ) \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac {32 \sin ^5(a+b x)}{5 b}-\frac {64 \sin ^7(a+b x)}{7 b}+\frac {32 \sin ^9(a+b x)}{9 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 38, normalized size = 0.83 \[ \frac {32 \left (35 \sin ^9(a+b x)-90 \sin ^7(a+b x)+63 \sin ^5(a+b x)\right )}{315 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]*Sin[2*a + 2*b*x]^5,x]

[Out]

(32*(63*Sin[a + b*x]^5 - 90*Sin[a + b*x]^7 + 35*Sin[a + b*x]^9))/(315*b)

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 53, normalized size = 1.15 \[ \frac {32 \, {\left (35 \, \cos \left (b x + a\right )^{8} - 50 \, \cos \left (b x + a\right )^{6} + 3 \, \cos \left (b x + a\right )^{4} + 4 \, \cos \left (b x + a\right )^{2} + 8\right )} \sin \left (b x + a\right )}{315 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="fricas")

[Out]

32/315*(35*cos(b*x + a)^8 - 50*cos(b*x + a)^6 + 3*cos(b*x + a)^4 + 4*cos(b*x + a)^2 + 8)*sin(b*x + a)/b

________________________________________________________________________________________

giac [A]  time = 0.65, size = 36, normalized size = 0.78 \[ \frac {32 \, {\left (35 \, \sin \left (b x + a\right )^{9} - 90 \, \sin \left (b x + a\right )^{7} + 63 \, \sin \left (b x + a\right )^{5}\right )}}{315 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="giac")

[Out]

32/315*(35*sin(b*x + a)^9 - 90*sin(b*x + a)^7 + 63*sin(b*x + a)^5)/b

________________________________________________________________________________________

maple [A]  time = 0.97, size = 69, normalized size = 1.50 \[ \frac {-\frac {32 \left (\sin ^{3}\left (b x +a \right )\right ) \left (\cos ^{6}\left (b x +a \right )\right )}{9}-\frac {32 \sin \left (b x +a \right ) \left (\cos ^{6}\left (b x +a \right )\right )}{21}+\frac {32 \left (\frac {8}{3}+\cos ^{4}\left (b x +a \right )+\frac {4 \left (\cos ^{2}\left (b x +a \right )\right )}{3}\right ) \sin \left (b x +a \right )}{105}}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)*sin(2*b*x+2*a)^5,x)

[Out]

32/b*(-1/9*sin(b*x+a)^3*cos(b*x+a)^6-1/21*sin(b*x+a)*cos(b*x+a)^6+1/105*(8/3+cos(b*x+a)^4+4/3*cos(b*x+a)^2)*si
n(b*x+a))

________________________________________________________________________________________

maxima [A]  time = 0.34, size = 58, normalized size = 1.26 \[ \frac {35 \, \sin \left (9 \, b x + 9 \, a\right ) + 45 \, \sin \left (7 \, b x + 7 \, a\right ) - 252 \, \sin \left (5 \, b x + 5 \, a\right ) - 420 \, \sin \left (3 \, b x + 3 \, a\right ) + 1890 \, \sin \left (b x + a\right )}{2520 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="maxima")

[Out]

1/2520*(35*sin(9*b*x + 9*a) + 45*sin(7*b*x + 7*a) - 252*sin(5*b*x + 5*a) - 420*sin(3*b*x + 3*a) + 1890*sin(b*x
 + a))/b

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 36, normalized size = 0.78 \[ \frac {32\,\left (35\,{\sin \left (a+b\,x\right )}^9-90\,{\sin \left (a+b\,x\right )}^7+63\,{\sin \left (a+b\,x\right )}^5\right )}{315\,b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(2*a + 2*b*x)^5/sin(a + b*x),x)

[Out]

(32*(63*sin(a + b*x)^5 - 90*sin(a + b*x)^7 + 35*sin(a + b*x)^9))/(315*b)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)**5,x)

[Out]

Timed out

________________________________________________________________________________________